package com.dailyblue.java.spring.ioc.demo5;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class App {
    public static void main(String[] args) {
        ApplicationContext beans
                = new AnnotationConfigApplicationContext("com.dailyblue.java.spring.ioc.demo5");
        DemoD dd = beans.getBean("demoD",DemoD.class);
        dd.d();
    }
}
